package com.ruoyi.sbrk.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备入库对象 sbgl_sbrk
 * 
 * @author huacai
 * @date 2024-09-11
 */
public class SbglSbrk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备入库ID */
    private String sbrkId;

    /** 入库状态 */
    @Excel(name = "入库状态")
    private String rkZt;

    /** 入库方式 */
    @Excel(name = "入库方式")
    private String rkFs;

    /** 入库日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rkRq;

    /** 入库人 */
    @Excel(name = "入库人")
    private String rkR;

    /** ID是否存在 */
    @Excel(name = "ID是否存在")
    private String idWhere;

    /** 用户ID */
    private Integer userId;

    /** 部门ID */
    private Integer deptId;

    /** 设备入库入库明细信息 */
    private List<SbglSbrkRkmx> sbglSbrkRkmxList;

    public void setSbrkId(String sbrkId) 
    {
        this.sbrkId = sbrkId;
    }

    public String getSbrkId() 
    {
        return sbrkId;
    }
    public void setRkZt(String rkZt) 
    {
        this.rkZt = rkZt;
    }

    public String getRkZt() 
    {
        return rkZt;
    }
    public void setRkFs(String rkFs) 
    {
        this.rkFs = rkFs;
    }

    public String getRkFs() 
    {
        return rkFs;
    }
    public void setRkRq(Date rkRq) 
    {
        this.rkRq = rkRq;
    }

    public Date getRkRq() 
    {
        return rkRq;
    }
    public void setRkR(String rkR) 
    {
        this.rkR = rkR;
    }

    public String getRkR() 
    {
        return rkR;
    }
    public void setIdWhere(String idWhere) 
    {
        this.idWhere = idWhere;
    }

    public String getIdWhere() 
    {
        return idWhere;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setDeptId(Integer deptId) 
    {
        this.deptId = deptId;
    }

    public Integer getDeptId() 
    {
        return deptId;
    }

    public List<SbglSbrkRkmx> getSbglSbrkRkmxList()
    {
        return sbglSbrkRkmxList;
    }

    public void setSbglSbrkRkmxList(List<SbglSbrkRkmx> sbglSbrkRkmxList)
    {
        this.sbglSbrkRkmxList = sbglSbrkRkmxList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sbrkId", getSbrkId())
            .append("rkZt", getRkZt())
            .append("rkFs", getRkFs())
            .append("rkRq", getRkRq())
            .append("rkR", getRkR())
            .append("idWhere", getIdWhere())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("sbglSbrkRkmxList", getSbglSbrkRkmxList())
            .toString();
    }
}
